package com.blog.entity;

import java.util.Date;

/**
 * @author 蒲鑫
 * @function 功能：传输聊天消息的相关信息
 * @date 2023年5月25日
 */
public class ChattingRecord {
	
	private int chatRecordId;//聊天记录id

	private String charText;//聊天信息

	private int sendId;//发送方id

	private int receiveId;//接收方id

	private Date sendDate;//发送时间

	public int getChatRecordId() {
		return chatRecordId;
	}
	public void setChatRecordId(int chatRecordId) {
		this.chatRecordId = chatRecordId;
	}
	public String getCharText() {
		return charText;
	}
	public void setCharText(String charText) {
		this.charText = charText;
	}
	public int getSendId() {
		return sendId;
	}
	public void setSendId(int sendId) {
		this.sendId = sendId;
	}
	public int getReceiveId() {
		return receiveId;
	}
	public void setReceiveId(int receiveId) {
		this.receiveId = receiveId;
	}
	public Date getSendDate() {
		return sendDate;
	}
	public void setSendDate(Date sendDate) {
		this.sendDate = sendDate;
	}
	@Override
	public String toString() {
		return "ChattingRecord [chatRecordId=" + chatRecordId + ", charText=" + charText + ", sendId=" + sendId
				+ ", receiveId=" + receiveId + ", sendDate=" + sendDate + "]";
	}
	
}
